package com.daisuxia.rongbao;

import java.io.Serializable;

public class RongBaoColl implements Serializable{
	
private static final long serialVersionUID = 1L;
	
	private String sign_type;  		//签名类型	String	必须	目前仅支持MD5，不参与验签
	
	private String sign;  			//签名	String	必须	按照sign_type参数指定的签名算法对待签名数据进行签名。目前仅支持MD5.详见数字签名
	
	private String batch_no;		//批次号	String（50）	必须	当日不能重复，最好以数字代替
	
	private String merchant_id;		//商户号	String(16)	必须	商户与融宝合作后在融宝产生的用户ID。
	
	private String notify_url;		//通知地址	String（512）	否	异步通知接收地址
	
	private String batch_date;		//提交日期	String(8)	必须	例：20170210
	
	private String batch_count;		//批次总数量	String(10)	否
	
	private String batch_amount;	//当前批次总金额	String(12)	否	批量代收交易总金额（若发送会进行校验且值不能为“0”）
	
	private String batch_version;	//版本号	String(5)	否	默认版本号1.0.0
	
	private String batch_conten;	//批次明细	String   必须
	
	//以下是批次明细所需字段
	private String order_number; 	//序号     	String（22）	必须	当前批次序号不可重复，必须为数字
	
	private String bank_no;			//卡号	String（64）	必须	银行卡号
	
	private String account_name; 	//开户名	String（256）	必须	个人在银行开立银行账户时所使用的身份证上的姓名； 

	private String bank_name; 		//银行名称 String（33）	必须	开户行名称，我司可根据传的内容自动匹配
	
	private String bank_fen;		//分行	String（22）	否	分行名称。传固定值即可，
	
	private String bank_zhi;		//支行 	 String（22）	否	支行名称。传固定值即可
	
	private String account_type;	//账户类型   String（1）	必须	上传“公”或者“私”即可
	
	private String money;			//金额 	 String（12）	必须	以“元”为单位
	
	private String money_type="CNY";		//币种  	String（4）	必须	上送“CNY”	
	
	private String provice;			//省     String（22）	否
	
	private String city;			//市     String（22）	否
	
	private String phone;			//银行预留手机号  	String（11）	必须	持卡人银行预留手机号
	
	private String card_type = "身份证";	//证件类型 String（11）	必须	目前支持：身份证
	
	private String card_no;			//证件号	String（64）	必须	持卡人的身份证号
	
	private String agreement_no;	//用户协议号 String（64）	必须	白名单提交时的协议号
	
	private String order_id;		//商户订单号 String（64）	必须	同一商户同一天订单号不可重复
	
	private String remark;			//备注



	public String getOrder_id() {
		return order_id;
	}

	public void setOrder_id(String order_id) {
		this.order_id = order_id;
	}

	public String getSign_type() {
		return sign_type;
	}

	public void setSign_type(String sign_type) {
		this.sign_type = sign_type;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public String getBatch_no() {
		return batch_no;
	}

	public void setBatch_no(String batch_no) {
		this.batch_no = batch_no;
	}

	public String getMerchant_id() {
		return merchant_id;
	}

	public void setMerchant_id(String merchant_id) {
		this.merchant_id = merchant_id;
	}

	public String getNotify_url() {
		return notify_url;
	}

	public void setNotify_url(String notify_url) {
		this.notify_url = notify_url;
	}

	public String getBatch_date() {
		return batch_date;
	}

	public void setBatch_date(String batch_date) {
		this.batch_date = batch_date;
	}

	public String getBatch_count() {
		return batch_count;
	}

	public void setBatch_count(String batch_count) {
		this.batch_count = batch_count;
	}

	public String getBatch_amount() {
		return batch_amount;
	}

	public void setBatch_amount(String batch_amount) {
		this.batch_amount = batch_amount;
	}

	public String getBatch_version() {
		return batch_version;
	}

	public void setBatch_version(String batch_version) {
		this.batch_version = batch_version;
	}

	public String getBatch_conten() {
		return order_number+","+bank_no+","+account_name+","+bank_name+","+bank_fen+","+bank_zhi+
				","+account_type+","+money+","+money_type+","+provice+","+city+","+phone+","+
				card_type+","+card_no+","+agreement_no+","+order_id+","+remark;
	}

	public void setBatch_conten(String batch_conten) {
		this.batch_conten = batch_conten;
	}

	public String getOrder_number() {
		return order_number;
	}

	public void setOrder_number(String order_number) {
		this.order_number = order_number;
	}

	public String getBank_no() {
		return bank_no;
	}

	public void setBank_no(String bank_no) {
		this.bank_no = bank_no;
	}

	public String getAccount_name() {
		return account_name;
	}

	public void setAccount_name(String account_name) {
		this.account_name = account_name;
	}

	public String getBank_name() {
		return bank_name;
	}

	public void setBank_name(String bank_name) {
		this.bank_name = bank_name;
	}

	public String getBank_fen() {
		return bank_fen;
	}

	public void setBank_fen(String bank_fen) {
		this.bank_fen = bank_fen;
	}

	public String getBank_zhi() {
		return bank_zhi;
	}

	public void setBank_zhi(String bank_zhi) {
		this.bank_zhi = bank_zhi;
	}

	public String getAccount_type() {
		return account_type;
	}

	public void setAccount_type(String account_type) {
		this.account_type = account_type;
	}

	public String getMoney() {
		return money;
	}

	public void setMoney(String money) {
		this.money = money;
	}

	public String getMoney_type() {
		return money_type;
	}

	public void setMoney_type(String money_type) {
		this.money_type = money_type;
	}

	public String getProvice() {
		return provice;
	}

	public void setProvice(String provice) {
		this.provice = provice;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getCard_type() {
		return card_type;
	}

	public void setCard_type(String card_type) {
		this.card_type = card_type;
	}

	public String getCard_no() {
		return card_no;
	}

	public void setCard_no(String card_no) {
		this.card_no = card_no;
	}

	public String getAgreement_no() {
		return agreement_no;
	}

	public void setAgreement_no(String agreement_no) {
		this.agreement_no = agreement_no;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	
	@Override
	public String toString() {
		return "RongBaoColl [sign_type=" + sign_type + ", sign=" + sign + ", batch_no=" + batch_no + ", merchant_id="
				+ merchant_id + ", notify_url=" + notify_url + ", batch_date=" + batch_date + ", batch_count="
				+ batch_count + ", batch_amount=" + batch_amount + ", batch_version=" + batch_version
				+ ", batch_conten=" + batch_conten + ", order_number=" + order_number + ", bank_no=" + bank_no
				+ ", account_name=" + account_name + ", bank_name=" + bank_name + ", bank_fen=" + bank_fen
				+ ", bank_zhi=" + bank_zhi + ", account_type=" + account_type + ", money=" + money + ", money_type="
				+ money_type + ", provice=" + provice + ", city=" + city + ", phone=" + phone + ", card_type="
				+ card_type + ", card_no=" + card_no + ", agreement_no=" + agreement_no + ", order_id=" + order_id
				+ ", remark=" + remark + "]";
	}

}
